/**
 * Copyright &copy; 2012-2016 Hansming All rights reserved.
 */
package com.hansming.bss.common.filter;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.hansming.bss.common.utils.SpringContextHolder;

import net.sf.ehcache.CacheManager;
import net.sf.ehcache.constructs.web.filter.SimplePageCachingFilter;

/**
 * 页面高速缓存过滤器
 * @author Hansming
 * @version 2013-8-5
 */
public class PageCachingFilter extends SimplePageCachingFilter {
	
	private static Logger logger = LoggerFactory.getLogger(PageCachingFilter.class);

	private CacheManager cacheManager = SpringContextHolder.getBean(CacheManager.class);
	
	@Override
	protected CacheManager getCacheManager() {
		return cacheManager;
	}
	
}
